package com.yu.dao;

import java.util.List;

import com.yu.pojo.Tnode;

import com.yu.dao.DH;

public class TnodeDao {
	public List getbyuid(String uid) {
		String  sql = "select * from tnode where id in(select nid from tr_n where rid in(select rid from tu_r where uid = ?))";
		return DH.getall(sql, new Tnode(), new String[] {uid});	
	}
}
